package com.bw.shopping.mvvm.view;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.bw.mvvm_common.mvvm.view.BaseActivity;
import com.bw.mvvm_common.mvvm.view.BaseFragment;
import com.bw.shopping.BR;
import com.bw.shopping.R;
import com.bw.shopping.databinding.FragmentShoppBinding;
import com.bw.shopping.mvvm.viewmodel.ShoppingViewModel;

import org.jetbrains.annotations.NotNull;

@Route(path = "/kkshopping/ShoppFragment")
public class ShoppFragment extends BaseFragment<FragmentShoppBinding, ShoppingViewModel> {


    @Override
    public int bindLayout() {
        return R.layout.fragment_shopp;
    }

    @Override
    public int initVerable() {
        return BR.vm;
    }

    @Override
    public void onResume() {
        super.onResume();
        vm.islogin();
    }
}